
<template>
  <div>
    <el-form :model="form" label-width="180px">
      <el-form-item :label="title+'样本数量'">
        <el-input v-model="form.sampleNum" style="width: 370px;" />
      </el-form-item>
      <el-form-item :label="title+'样本存放零下80℃冰箱（号）'">
        <el-input v-model="form.sampleRefrigerator" style="width: 370px;" />
      </el-form-item>
      <el-form-item :label="title +'样本存放层'">
        <el-input v-model="form.sampleStorageLayer" style="width: 370px;" />
      </el-form-item>
      <el-form-item :label="title+'样本存放架'">
        <el-input v-model="form.sampleStorageRack" style="width: 370px;" />
      </el-form-item>
      <el-form-item :label="title+'样本存放亚层'">
        <el-input v-model="form.sampleStorageSublayer" style="width: 370px;" />
      </el-form-item>
      <el-form-item :label="title+'样本存盒'">
        <el-input v-model="form.sampleStorageBox" style="width: 370px;" />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>

export default {
  // components: {

  // },
  props: {
    title: {
      type: String,
      default: '',
      require: true
    }
  },
  data() {
    return {
      form: {
        id: '',
        relationship: '',
        name: '',
        pid: this._routerRoot._route.query.id
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    }
  }
}
</script>

<style>

</style>
